def multiply() :
    a = 0
    while a < 9 :
        a += 1
        b = 0
        while b < a :
            b += 1
            print(a,'*',b,'=',a*b,end = '\t')
        print()

multiply()